import { defineStore } from "pinia";
import { userInfoType } from "../types/userInfo";
interface userType{
    userInfo:userInfoType|null
}

export const useInfoStore = defineStore("userInfo", {
	state: ():userType => {
        return {
            userInfo: null
		};
    },
     persist: {
        key:"userInfo"
    }
});
